package com.jimmy.ioc.team;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @version 1.0
 * @ ClassName BookDao
 * <p> TODO
 * @ author JIMMY
 * @ Date 2020/12/7 0007 下午 7:10
 */
@Repository
public class BookDao {
    private String label ="1";
    public void add(){
        System.out.println("bookdao add");
    }

    public void setLabel(String label) {
        this.label = label;
    }

    @Override
    public String toString() {
        return "BookDao{" +
                "label='" + label + '\'' +
                '}';
    }
}
